package com.yisu.auction.api.core.mapper;

import com.yisu.auction.api.domain.request.activityPackage.NewActivitiesRequest;
import com.yisu.auction.ewf.entity.NewActivities;

import java.util.List;

public interface NewActivitiesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewActivities record);

    int insertSelective(NewActivities record);

    NewActivities selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(NewActivities record);

    int updateByPrimaryKey(NewActivities record);

    /**
     * author: 赵杰
     * Business Description：通过prizeId与memberId获取未中奖列表
     * @param newActivitiesRequest
     * @return
     */
    List<NewActivities> getNoWinRecord(NewActivitiesRequest newActivitiesRequest);
}